import org.restlet.data.Status;

if (request.getMethod().getName().equalsIgnoreCase(	"POST"))
if (oldValue != null) {
	response.setStatus(	Status.CLIENT_ERROR_CONFLICT);
	throw new StopException();
}